import {_fetch} from "./request"

function getsubjectlist(data) {
    return _fetch({
        url: '/subject/list',
        method: 'get',
        params:data
    })
}

function getsubjectstatus(data) {
    return _fetch({
        url: '/subject/status',
        method: 'post',
        data
    })
}


function addsubjects(data) {
    return _fetch({
        url: '/subject/add',
        method: 'post',
        data
    })
}

function editsubjects(data) {
    return _fetch({
        url: '/subject/edit',
        method: 'post',
        data
    })
}

function delsubjects(data) {
    return _fetch({
        url: '/subject/remove',
        method: 'post',
        data
    })
}



export {getsubjectlist,getsubjectstatus,addsubjects,editsubjects,delsubjects}